<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>404</title>
    <style>
        .a{
            position:absolute;left:47%;top:80%;
            color: white;
        }
        body{
            background-image: url("img/404.png");
            background-repeat:no-repeat ;
            background-size:100% 100%;
            background-attachment: fixed;
        }
    </style>
</head>
<body>
<div id="wrap">
    <a class="a" v-bind:href="url">返回首页</a>
</div>
</body>
</html>
<script src="js/vue.js"></script>
<script src="js/axios.min.js"></script>
<script>
    var app = new Vue({
        el:"#wrap",
        data:{
            user:{
                username:"000"
            },
            msg:"",
            url:"/ems_vue/login.html"
        },
        methods:{
            getD(){
                let _this = this;
                axios.get("http://localhost:8989/ems_vue/user/getUser").then(res=>{
                    _this.user = res.data.user;
                    _this.msg = res.data.msg;
                })
            }
        }
    })
</script>